package com.leoman.systemsetting.service;

import com.leoman.common.service.GenericManager;
import com.leoman.systemsetting.entity.Prize;

import java.util.List;

/**
 * Created by 蔡琦 on 2016/6/30 0030.
 *
 */
public interface PrizeService extends GenericManager<Prize>{

    // 根据馒头数查询抽奖
    Prize findByCoin(Integer coin);

    // 查询所有的抽奖设置
    List<Prize> findList();

    // 保存抽奖
    void saveAll(Double name1,
                        Double name2,
                        Double name3,
                        Double name4,
                        Double name5,
                        Double name6,
                        Double name7,
                        Double name8);


}
